Class yassl.plusnode
All Packages    This Package    Previous    Next

Class yassl.plusnode

java.lang.Object
   |
   +----yassl.pnode
           |
           +----yassl.unarynode
                   |
                   +----yassl.binarynode
                           |
                           +----yassl.plusnode

public class plusnode
extends binarynode

Constructor Index

 o plusnode(pnode, pnode)

Method Index

 o eval(Env)
this operator expects its children to be numnodes or String nodes.

Constructors

 o plusnode
  public plusnode(pnode left,
                  pnode right)

Methods

 o eval
  public pnode eval(Env e) throws yasslError
this operator expects its children to be numnodes or String nodes. If any one of its children are stringnodes, the other is promoted to be a string node.. This is silly, but is the simplest way to make things "look" like the regular compiler.
Overrides:
eval in class pnode


All Packages    This Package    Previous    Next